import request from '@/utils/request'

// 销售合同评审
export function getSaleContractReviewList(data) {
  return request({
    url: '/api/selfManage/saleContractReview/getSaleContractReviewList',
    method: 'post',
    data
  })
}

export function addSaleContractReview(data) {
  return request({
    url: '/api/selfManage/saleContractReview/addSaleContractReview',
    method: 'post',
    data
  })
}

export function updateSaleContractReview(data) {
  return request({
    url: '/api/selfManage/saleContractReview/updateSaleContractReview',
    method: 'post',
    data
  })
}

export function deleteSaleContractReview(params) {
  return request({
    url: '/api/selfManage/saleContractReview/deleteSaleContractReview',
    method: 'post',
    params
  })
}

export function getSaleContractReviewDetail(params) {
  return request({
    url: '/api/selfManage/saleContractReview/getSaleContractReviewDetail',
    method: 'post',
    params
  })
}

// 劳务合同评审
export function getLaborContractReviewList(data) {
  return request({
    url: '/api/selfManage/laborContractReview/getLaborContractReviewList',
    method: 'post',
    data
  })
}

export function addLaborContractReview(data) {
  return request({
    url: '/api/selfManage/laborContractReview/addLaborContractReview',
    method: 'post',
    data
  })
}

export function updateLaborContractReview(data) {
  return request({
    url: '/api/selfManage/laborContractReview/updateLaborContractReview',
    method: 'post',
    data
  })
}

export function deleteLaborContractReview(params) {
  return request({
    url: '/api/selfManage/laborContractReview/deleteLaborContractReview',
    method: 'post',
    params
  })
}

export function getLaborContractReviewDetail(params) {
  return request({
    url: '/api/selfManage/laborContractReview/getLaborContractReviewDetail',
    method: 'post',
    params
  })
}

// 材料合同评审
export function getMaterialContractReviewList(data) {
  return request({
    url: '/api/selfManage/materialContractReview/getMaterialContractReviewList',
    method: 'post',
    data
  })
}

export function addMaterialContractReview(data) {
  return request({
    url: '/api/selfManage/materialContractReview/addMaterialContractReview',
    method: 'post',
    data
  })
}

export function updateMaterialContractReview(data) {
  return request({
    url: '/api/selfManage/materialContractReview/updateMaterialContractReview',
    method: 'post',
    data
  })
}

export function deleteMaterialContractReview(params) {
  return request({
    url: '/api/selfManage/materialContractReview/deleteMaterialContractReview',
    method: 'post',
    params
  })
}

export function getMaterialContractReviewDetail(params) {
  return request({
    url: '/api/selfManage/materialContractReview/getMaterialContractReviewDetail',
    method: 'post',
    params
  })
}

// 机械设备采购合同评审
export function getMachineDeviceStockContractReviewList(data) {
  return request({
    url: '/api/selfManage/machineDeviceStockContractReview/getMachineDeviceStockContractReviewList',
    method: 'post',
    data
  })
}

export function addMachineDeviceStockContractReview(data) {
  return request({
    url: '/api/selfManage/machineDeviceStockContractReview/addMachineDeviceStockContractReview',
    method: 'post',
    data
  })
}

export function updateMachineDeviceStockContractReview(data) {
  return request({
    url: '/api/selfManage/machineDeviceStockContractReview/updateMachineDeviceStockContractReview',
    method: 'post',
    data
  })
}

export function deleteMachineDeviceStockContractReview(params) {
  return request({
    url: '/api/selfManage/machineDeviceStockContractReview/deleteMachineDeviceStockContractReview',
    method: 'post',
    params
  })
}

export function getMachineDeviceStockContractReviewDetail(params) {
  return request({
    url: '/api/selfManage/machineDeviceStockContractReview/getMachineDeviceStockContractReviewDetail',
    method: 'post',
    params
  })
}

// 机械设备租赁合同评审
export function getMachineDeviceLeaseContractReviewList(data) {
  return request({
    url: '/api/selfManage/machineDeviceLeaseContractReview/getMachineDeviceLeaseContractReviewList',
    method: 'post',
    data
  })
}

export function addMachineDeviceLeaseContractReview(data) {
  return request({
    url: '/api/selfManage/machineDeviceLeaseContractReview/addMachineDeviceLeaseContractReview',
    method: 'post',
    data
  })
}

export function updateMachineDeviceLeaseContractReview(data) {
  return request({
    url: '/api/selfManage/machineDeviceLeaseContractReview/updateMachineDeviceLeaseContractReview',
    method: 'post',
    data
  })
}

export function deleteMachineDeviceLeaseContractReview(params) {
  return request({
    url: '/api/selfManage/machineDeviceLeaseContractReview/deleteMachineDeviceLeaseContractReview',
    method: 'post',
    params
  })
}

export function getMachineDeviceLeaseContractReviewDetail(params) {
  return request({
    url: '/api/selfManage/machineDeviceLeaseContractReview/getMachineDeviceLeaseContractReviewDetail',
    method: 'post',
    params
  })
}

// 其他合同评审
export function getOtherContractReviewList(data) {
  return request({
    url: '/api/selfManage/otherContractReview/getOtherContractReviewList',
    method: 'post',
    data
  })
}

export function addOtherContractReview(data) {
  return request({
    url: '/api/selfManage/otherContractReview/addOtherContractReview',
    method: 'post',
    data
  })
}

export function updateOtherContractReview(data) {
  return request({
    url: '/api/selfManage/otherContractReview/updateOtherContractReview',
    method: 'post',
    data
  })
}

export function deleteOtherContractReview(params) {
  return request({
    url: '/api/selfManage/otherContractReview/deleteOtherContractReview',
    method: 'post',
    params
  })
}

export function getOtherContractReviewDetail(params) {
  return request({
    url: '/api/selfManage/otherContractReview/getOtherContractReviewDetail',
    method: 'post',
    params
  })
}
